package com.wao.cms.service.mapper;

import com.wao.cms.domain.*;
import com.wao.cms.service.dto.WebsiteDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity Website and its DTO WebsiteDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface WebsiteMapper extends EntityMapper <WebsiteDTO, Website> {
    
    
    default Website fromId(Long id) {
        if (id == null) {
            return null;
        }
        Website website = new Website();
        website.setId(id);
        return website;
    }
}
